package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Evan on 12/15/2015.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("fb_act_instagram_act")
public class AccountInstagramAct implements Serializable {
    @Id
    private Long id;
    @Column(value = "fb_act_id")
    private Long fbAccountId;
    @Column(value = "ins_act_id")
    private Long insAccountId;            //instagram 账号id
    @Column(value = "ins_act_username")
    private String insAccountUsername;    //instagram 账号名
    @Column(value = "ins_act_owner_business_id")
    private Long insAccountOwnerBmId;     //instagram 账号所属bm账号id
    @Column(value = "ins_act_is_published")
    private Boolean insAccountIsPublished;
    @Column(value = "has_profile_picture")
    private Boolean hasProfilePic;
    //update_time
    private Long updateTime;
    //is_delete
    private Boolean isDelete;

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }
    public void setIsDelete(Boolean delete) {
        isDelete = delete;
    }
}
